package com.lixinyue.exer;



 class  PhoneMall{
     public  void showPhone(Phone phone)
     {
            phone.calling();
            phone.paying();
     }

}





public class Phone {
    int price;
    public void calling()
    {
        System.out.println("sb had called you");
    }
    public void paying()
    {
        System.out.println("you can pay by phone");
    }


}
